/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package iTrace;

import org.eclipse.emf.cdo.CDOObject;

import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Element Model</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link iTrace.ElementModel#getRef <em>Ref</em>}</li>
 *   <li>{@link iTrace.ElementModel#getElementModel <em>Element Model</em>}</li>
 *   <li>{@link iTrace.ElementModel#getSourceTraceLink <em>Source Trace Link</em>}</li>
 *   <li>{@link iTrace.ElementModel#getTargetM2MLink <em>Target M2M Link</em>}</li>
 * </ul>
 * </p>
 *
 * @see iTrace.ITracePackage#getElementModel()
 * @model
 * @extends CDOObject
 * @generated
 */
public interface ElementModel extends CDOObject {
	/**
	 * Returns the value of the '<em><b>Ref</b></em>' reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Ref</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Ref</em>' reference.
	 * @see #setRef(EObject)
	 * @see iTrace.ITracePackage#getElementModel_Ref()
	 * @model required="true"
	 * @generated
	 */
	EObject getRef();

	/**
	 * Sets the value of the '{@link iTrace.ElementModel#getRef <em>Ref</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Ref</em>' reference.
	 * @see #getRef()
	 * @generated
	 */
	void setRef(EObject value);

	/**
	 * Returns the value of the '<em><b>Element Model</b></em>' container reference.
	 * It is bidirectional and its opposite is '{@link iTrace.Model#getModelElementModel <em>Model Element Model</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Element Model</em>' container reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Element Model</em>' container reference.
	 * @see #setElementModel(Model)
	 * @see iTrace.ITracePackage#getElementModel_ElementModel()
	 * @see iTrace.Model#getModelElementModel
	 * @model opposite="modelElementModel" required="true" transient="false"
	 * @generated
	 */
	Model getElementModel();

	/**
	 * Sets the value of the '{@link iTrace.ElementModel#getElementModel <em>Element Model</em>}' container reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Element Model</em>' container reference.
	 * @see #getElementModel()
	 * @generated
	 */
	void setElementModel(Model value);

	/**
	 * Returns the value of the '<em><b>Source Trace Link</b></em>' reference list.
	 * The list contents are of type {@link iTrace.TraceLink}.
	 * It is bidirectional and its opposite is '{@link iTrace.TraceLink#getTraceLinkSource <em>Trace Link Source</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Source Trace Link</em>' reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Source Trace Link</em>' reference list.
	 * @see iTrace.ITracePackage#getElementModel_SourceTraceLink()
	 * @see iTrace.TraceLink#getTraceLinkSource
	 * @model opposite="TraceLinkSource"
	 * @generated
	 */
	EList<TraceLink> getSourceTraceLink();

	/**
	 * Returns the value of the '<em><b>Target M2M Link</b></em>' reference list.
	 * The list contents are of type {@link iTrace.M2MLink}.
	 * It is bidirectional and its opposite is '{@link iTrace.M2MLink#getM2MLinkTarget <em>M2M Link Target</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Target M2M Link</em>' reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Target M2M Link</em>' reference list.
	 * @see iTrace.ITracePackage#getElementModel_TargetM2MLink()
	 * @see iTrace.M2MLink#getM2MLinkTarget
	 * @model opposite="M2MLinkTarget"
	 * @generated
	 */
	EList<M2MLink> getTargetM2MLink();

} // ElementModel
